notebook.community
Edit and run
In [1]: import cPickle as pkl import numpy as np
import cPickle as pkl import numpy as np
In [2]: with open('dumps/numpy_params','rb') as f: data = pkl.load(f)
with open('dumps/numpy_params','rb') as f: data = pkl.load(f)
In [3]: for i in data: print i.shape
for i in data: print i.shape
(32, 3, 7, 7) (32, 256, 256) (32, 32, 3, 3) (32, 127, 127) (32, 32, 3, 3) (32, 127, 127) (64, 32, 3, 3) (64, 63, 63) (64, 64, 3, 3) (64, 63, 63) (128, 64, 3, 3) (128, 31, 31) (128, 128, 3, 3) (128, 31, 31) (128, 128, 3, 3) (128, 31, 31) (128, 128, 3, 3) (128, 31, 31) (256, 128, 3, 3) (256, 15, 15) (256, 256, 3, 3) (256, 15, 15) (256, 256, 3, 3) (256, 15, 15) (256, 256, 3, 3) (256, 15, 15) (12544, 1024) (1024,) (1028, 1024) (1024,) (512, 10) (10,)